import React, { Component } from 'react'
import { Route, Redirect, Switch } from "react-router-dom"
import { Suspense } from "react"

export default function RouterView(props) {
    return (
        <Suspense fallback="">
            <Switch>
                {props.routes.map(item=>{
                    
                })}
            </Switch>
        </Suspense>
    )
}
